window: Actually enable the inspector by default
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 Apr 2021 15:53:09 +0000 (11:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 5 Apr 2021 15:54:37 +0000 (11:54 -0400)
427d216081ea0fd9e2045e changed the default in the schema,
but didn't handle cases where the schema isn't found.

gtk/gtkwindow.c

index 2aa6053494d5a9ea9f7347d5a190d53ada67dd5c..7b1eaa860d1e5fe274732b8f2adb25b0a642cfe4 100644 (file)
@@ -6120,8 +6120,8 @@ inspector_keybinding_enabled (gboolean *warn)
   GSettings *settings;
   gboolean enabled;
 
-  enabled = FALSE;
-  *warn = FALSE;
+  enabled = TRUE;
+  *warn = TRUE;
 
   schema = g_settings_schema_source_lookup (g_settings_schema_source_get_default (),
                                             "org.gtk.gtk4.Settings.Debug",